﻿using System;
using System.Collections.Generic;
using System.Text;
using Wolfut.MirageEE.Interface.Common;
using Wolfut.MirageEE.Kernal.Common;

namespace Wolfut.MirageEE.Server.RemotingService.Common
{
    public class CurrencyCategoryRS : RemotingServiceBase, ICurrencyCategoryService
    {
        private readonly ICurrencyCategoryService currencyCategoryService;
        public CurrencyCategoryRS(ICurrencyCategoryService currencyCategoryService)
        {
            this.currencyCategoryService = currencyCategoryService;
        }
        #region ICurrencyCategoryService Members

        public Wolfut.MirageEE.Domain.Common.CurrencyCategory AddOrUpdateCurrencyCategory(Wolfut.MirageEE.Domain.Common.CurrencyCategory currencyCategory)
        {
            return currencyCategoryService.AddOrUpdateCurrencyCategory(currencyCategory);
        }

        public IList<Wolfut.MirageEE.Domain.Common.CurrencyCategory> GetCurrencyCategory(string currencyCode, string currencyName, bool isDeleted)
        {
            return currencyCategoryService.GetCurrencyCategory(currencyCode, currencyName, isDeleted);
        }

        #endregion
    }
}
